"""
Task 3

Extracting numbers.

Make a list that contains all integers from 1 to 100, then find all integers from the list that are divisible by 7
but not a multiple of 5, and store them in a separate list. Finally, print the list.

Constraint: use only while loop for iteration
"""
integers_list = []
final_integers_list = []
i = 1
while i <= 100:
    integers_list.append(i)
    i += 1
print(integers_list)
j = 0
while j < len(integers_list):
    if integers_list[j] % 5 != 0 and integers_list[j] % 7 == 0:
        final_integers_list.append(integers_list[j])
    j += 1
print(final_integers_list)
